<template>
  <div class="app-container">
    <Layout>
      <template #left>
        <div class="aside">
          <SiteAside />
        </div>
      </template>
      <template #default>
        <router-view></router-view>
      </template>
    </Layout>
    <ToTop></ToTop>
  </div>
</template>

<script>
import Layout from "@/components/Layout"
import SiteAside from "@/components/SiteAside"
import ToTop from "./components/ToTop"
export default {
  components: {
    Layout,
    SiteAside,
    ToTop
  }
}
</script>

<style scoped lang="scss">
@import "~@/styles/common.scss";
.app-container {
  @include self-fill(fixed);
}
.aside {
  width: 250px;
  height: 100%;
}
</style>